<div class="contenidofijo">
<div class="ciucourses index">
  <?php  $tokens=array(0=>"", 1=>"Cursos Actuales") ?>
        <?php echo $this->element("breadcrumb", array('tokens'=>$tokens))?>   
  <table class="zebra" cellpadding="0" cellspacing="0">
  <thead>
  <tr>
      <th><?php echo 'id'; ?></th>
      <th><?php echo "Asignatura";?></th>
      <th><?php echo 'Horario';?></th>
      <th><?php echo 'Salon';?></th>
      <th><?php echo 'Docente' ;?></th>
      <th><?php echo 'Estado';?></th>
	  
	  
  </tr>
  </thead>
  <?php
  $i = 0;
  foreach ($ciucourses as $ciucourse):
    $class = null;
    if ($i++ % 2 == 0) {
      $class = ' class="altrow"';
    }
  ?>
  <tr<?php echo $class;?>>
    <td><?php echo $ciucourse['Ciucourse']['id']; ?>&nbsp;</td>
    <td>
      <?php echo $ciucourse['Ciusubject']['name'];?>
    </td>
    <td>
      <?php echo $ciucourse['Ciutimetable']['name'];?>
    </td>
    <td>
      <?php echo $ciucourse['Ciuroom']['name']; ?>
    </td>
    <td>
      <?php echo $ciucourse['Ciuuser']['first_names']; ?>
      <?php echo $ciucourse['Ciuuser']['last_names']; ?>
    </td>
    <td>
      <?php echo $ciucourse['Ciucurspersstate']['name']; ?>
    </td>
  </tr>
<?php endforeach; ?>
  </table>
</div>
</div>